package com.niuwa.p2p.entity.redenvelope;

import java.util.Date;

public class RedEnvelope {
    private String exchangeNo;

    private String ruleNo;

    private String name;

    private Integer amount;

    private String custName;

    private Long custId;

    private Date startDate;

    private Date endDate;

    private Date issueDate;

    private String status;

    private Integer consumedPercent;

    private Date usedTime;

    private String usedProd;

    private String availActions;

    private String availPlatform;

    private String triggerAction;

    private Date createTime;

    public String getExchangeNo() {
        return exchangeNo;
    }

    public void setExchangeNo(String exchangeNo) {
        this.exchangeNo = exchangeNo == null ? null : exchangeNo.trim();
    }

    public String getRuleNo() {
        return ruleNo;
    }

    public void setRuleNo(String ruleNo) {
        this.ruleNo = ruleNo == null ? null : ruleNo.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName == null ? null : custName.trim();
    }

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getConsumedPercent() {
        return consumedPercent;
    }

    public void setConsumedPercent(Integer consumedPercent) {
        this.consumedPercent = consumedPercent;
    }

    public Date getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Date usedTime) {
        this.usedTime = usedTime;
    }

    public String getUsedProd() {
        return usedProd;
    }

    public void setUsedProd(String usedProd) {
        this.usedProd = usedProd == null ? null : usedProd.trim();
    }

    public String getAvailActions() {
        return availActions;
    }

    public void setAvailActions(String availActions) {
        this.availActions = availActions == null ? null : availActions.trim();
    }

    public String getAvailPlatform() {
        return availPlatform;
    }

    public void setAvailPlatform(String availPlatform) {
        this.availPlatform = availPlatform == null ? null : availPlatform.trim();
    }

    public String getTriggerAction() {
        return triggerAction;
    }

    public void setTriggerAction(String triggerAction) {
        this.triggerAction = triggerAction == null ? null : triggerAction.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
	public RedEnvelope() {
		super();
	}

	public RedEnvelope(String exchangeNo, Long custId, String status) {
		super();
		this.exchangeNo = exchangeNo;
		this.custId = custId;
		this.status = status;
	}
    
}